import request from '../config/axios';
var bac='/v1'
// 添加/修改公示信息
export function addopinion(data){
  return request({
    url:bac+'/opinion/addopinion',
    method:'post',
    data
  })
}
// 获取公示信息
export function getopinion(params){
  return request({
    url:bac+'/opinion/getopinion',
    method:'get',
    params
  })
}
// 删除
export function delopinion(data){
  return request({
    url:bac+'/opinion/delopinion',
    method:'post',
    data
  })
}